<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const arr = [
        "css",
        "html",
        function () {
          console.log(this === arr);
        },
        "js",
        true,
        undefined,
        { age: 20, name: "jack" },
        ["a", "b", "c"],
      ];
      arr[2]();
      console.log(arr[6].age);
      console.log(arr[6]["name"]);
      console.log(arr[7][2]); //c
      console.log(arr);
    </script>
  </body>
</html>
